/*
 * String.h
 *
 *  Created on: 17.04.2012
 *      Author: Eugene Kornykhin
 */

#ifndef STRING_H_
#define STRING_H_

#include "../PElement.h"

class String: public PElement {
public:
	String(string value);
	virtual ~String();

	string getValue() const;

	virtual void execute(Interpreter &);

	virtual PolizPosition next_position_after(PolizPosition) const;
	virtual bool isHalt() const;
	virtual String *clone(const Poliz &) const;
	string toString() const;

private:
	string value;
};

#endif /* STRING_H_ */
